package text;


import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.lankystar.sos.service.IUserInterface;

public class UserLocationTest {

	ApplicationContext atx = null;
	IUserInterface userLocationInterface = null;
	@Before
	public void inti(){
		atx = new ClassPathXmlApplicationContext("applicationContext.xml");
		userLocationInterface = (IUserInterface) atx.getBean("userInterface");
	}
	@Test
	public void userLocationUpload() {
		userLocationInterface.userLocationUploadMethod("jack", 50.2, 50.2);
	}

}
